package cn.ad.server.web.spring.model.gdt;

import com.baidu.bjf.remoting.protobuf.EnumReadable;

public enum GDTEducation implements EnumReadable{

	EDUCATION_UNKNOWN(0, "未知"),
	EDUCATION_DOCTOR(1, "博士"),
	EDUCATION_MASTER(2, "硕士"),
	EDUCATION_COLLEGE(3, "大学生"),
	EDUCATION_HIGH_SCHOOL(4, "高中生"),
	EDUCATION_MIDDLE_SCHOOL(5, "初中"),
	EDUCATION_PRIMARY_SCHOOL(6, "小学");

	private int value;
	private String name;

	GDTEducation(int value, String name) {
		this.value = value;
		this.name = name;
	}

	@Override
	public int value() {
		return value;
	}
	
	public String getName() {
		return name;
	}
}
